<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require 'handle_htm_file.php';
require 'handle_css_file.php';

passthru("/usr/local/bin/python2.7 /var/www/html/py/ComPare.pyc");

if (file_exists("/var/www/html/result/fin.html")) {
    header("Location: /result/fin.html");
} else {
    echo "结果提取失败，请返回重试或联系作者！";
}

//确保重定向后，后续代码不会被执行 
exit;
